package sample.intf.shared;

public class BaseResponse {

	private int code;
	private String msg;
	private Object obj;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	public BaseResponse() {
		this.code = 0;
		this.msg = "";
	}

	public BaseResponse(int code) {
		this.code = code;
		this.msg = "";
	}

	public BaseResponse(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public BaseResponse(int code, String msg, Object obj) {
		this.code = code;
		this.msg = msg;
		this.obj = obj;
	}
}
